$(function(){
	$("#editPassword").validate({
		rules:{
			oldPassword:{required:true},
			password:{required:true},
			sPassword:{required:true,match:'password'}
		},
		messages:{sPassword:'两次密码不一致'}
	})
})